package com.ss.android.article.base.feature.video;

import android.content.Context;
import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;

import com.ss.android.article.base.feature.model.CellRef;
import com.ss.android.article.base.feature.model.Article;
import com.ss.android.b.a.BaseAdsData;
import com.ss.android.image.model.ImageInfo;
import com.ss.ttvideoengine.b.VideoItem;
import java.lang.ref.WeakReference;

public interface IMediaLayout {
    void clearView();

    void disableAutoRotate();

    void dismissAllEndCover();

    void dismissCover();

    void dismissLoading();

    void dismissLoadingCover();

    void dismissMediaPlayer();

    void dismissNewCover();

    boolean dismissNoWifiNoticeDialog();

    void dismissRetry();

    void dismissToolBar();

    void dismissToolBar(boolean arg1, boolean arg2);

    boolean dismissTouchProgress();

    boolean dismissVolume();

    void enableAutoRotate();

    void enterFullScreen(ViewGroup arg1);

    void exitFullScreen(ViewGroup arg1);

    int getClarityCount();

    int getContainerHeight();

    FrameLayout.LayoutParams getLayoutParams();

    VideoItem getSelectClarity();

    int getVisibility();

    void handleBtnAdShowOrHide(Boolean arg1);

    boolean isAutoRotateEnabled();

    boolean isCellType();

    boolean isEndCoverLayoutVisible();

    boolean isFullScreen();

    boolean isNoWifiDialogShowing();

    boolean isSurfaceViewValid();

    void onAccountRefresh(boolean arg1);

    boolean outOfBuffer(int arg1);

    void releaseMediaPlayer();

    void removeDismissToolBarMsg();

    void removeMediaView();

    void resetClaritySelectors();

    void reshowEndCover();

    void restoreClaritySelectByCache(String arg1, SparseArray arg2);

    void sendDismissToolBarMsg();

    void setAdGoLanding(boolean arg1);

    void setBtnAdInfo(BaseAdsData arg1, WeakReference arg2);

    void setCallback(IMediaCallback arg1);

    void setContainerLayoutParams(int arg1, int arg2);

    void setContainerSize(int arg1, int arg2);

    void setDetailAutoPlayKeepFullScreen(boolean arg1);

    void setDirectPlay(boolean arg1);

    void setIsLiveVideo(boolean arg1);

    void setIsPatchVideo(boolean arg1, boolean isAd);

    void setIsSplashAdVideo(boolean arg1, boolean arg2, boolean arg3);

    void setKeepScreenOn(boolean arg1);

    void setLayoutParams(FrameLayout.LayoutParams arg1);

    void setOuterVideoCellType(int arg1);

    void setPlayIcon(boolean arg1, boolean arg2);

    void setPlayerSurfaceViewSize(boolean arg1);

    void setSeekProgress(int arg1);

    void setSeekSecondaryProgress(int arg1);

    void setSelectClarityItem(VideoItem arg1, View arg2);

    void setSurfaceViewVisible(int arg1);

    void setTheme(boolean arg1);

    void setThirdImageUrl(String arg1);

    void setTimeDesc(long arg1, long arg2);

    void setTitle(String arg1);

    void setTitleTextSize(int arg1);

    void setVideoSize(int arg1, int arg2);

    void setVisibility(int arg1);

    void showCover(ImageInfo arg1, boolean arg2);

    void showEndCover(CellRef arg1, Article arg2);

    void showEndCoverOnResume(Article arg1);

    void showHideBottomLayout(boolean arg1);

    void showLiveError(String arg1, boolean arg2);

    void showLoading();

    void showLoadingCover(ImageInfo imageInfo);

    void showMediaPlayer(ViewGroup arg1);

    void showNewCover(Article article);

    boolean showNoWifiNoticeDialog(Context arg1);

    void showOrHideWatermark(boolean arg1);

    void showPatchRelativeView(boolean arg1);

    void showPlayBtn(boolean arg1);

    void showRelatedVideo(Object arg1, View arg2);

    void showRetry();

    void showToolBar(boolean arg1);

    void showToolBar(boolean arg1, boolean arg2, boolean arg3);

    boolean showTouchProgress(Context arg1, boolean arg2, long arg3, long arg4);

    boolean showVolume(Context arg1, int arg2);

    void stopAutoPlayEndCover();

    void trySetTitleVisiable(boolean arg1);

    void updateAdLeftTime(int arg1, int jumpCountdown);

    void updateAdPatchVideoPanel(boolean arg1);
}

